package com.mar.framecompress.impl.zlib;

import java.nio.ByteBuffer;

import com.mar.framecompress.IDecoder;
import com.mar.framecompress.IEncoder;

public class ZlibEncoderDecoder implements IDecoder, IEncoder {

	public void decode(ByteBuffer inBuff, ByteBuffer outBuff) {
		ZlibFacade.decompress(inBuff, outBuff);
	}

	public void encode(ByteBuffer inBuff, ByteBuffer outBuff) {
		ZlibFacade.compress(inBuff, outBuff);
	}
}
